package com.zhoutao.blog.seven.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhoutao.blog.seven.model.enums.BookChapterType;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("book_chapter")
public class BookChapterDao {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long ordinal;

    private Long bookId;

    private BookChapterType type;

    private String title;

    private String url;

    private Integer level;

    private LocalDateTime createdAt;


}
